package com.example.child_protection.dto.request.find;

import com.example.child_protection.dto.base.BaseQueryRequestDTO;
import com.example.child_protection.dto.base.BaseRequestDTO;
import com.example.child_protection.enums.SexEnums;
import com.example.child_protection.enums.UserStatesEnums;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 系统菜单查询请求DTO
 * @date 2018-11-1
 * @author Biz
 */
@Getter
@Setter
public class SystemMenuRequestDTO extends BaseQueryRequestDTO {

    /**
     * 编码
     *
     * @mbggenerated
     */
    private String code;

    /**
     * 父节点编码
     *
     * @mbggenerated
     */
    private String parentCode;

    /**
     * 名称
     *
     * @mbggenerated
     */
    private String name;

    /**
     * 用户id
     *
     * @mbggenerated
     */
    private Long userId;

    public void valid(){

    }
    public boolean isValidGid() {

        return false;
    }

}
